package com.lagou.edu;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.SpringBootConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

@SpringBootApplication
@EntityScan("com.lagou.edu.pojo")
@EnableEurekaClient // 开启eureka客户端，eureka独有的租借
//@EnableDiscoveryClient // 或者可以用通用注解开启注册中心客户端 (可以注册到erueka或者Nacos等)
                        // 从spring-cloud的Edgware版本开始，可以不加注解，已经自带了
public class LagouResumeApplication8080 {
    public static void main(String[] args) {
        SpringApplication.run(LagouResumeApplication8080.class, args);
    }
}
